// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsMonthDetailDao;
import com.liuxinlong.modules.entity.AssetsMonthDetail;
import com.liuxinlong.modules.mapper.AssetsMonthDetailMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsMonthDetailDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年11月17日
 */
@Service
public class AssetsMonthDetailDaoImpl extends ServiceImpl<AssetsMonthDetailMapper, AssetsMonthDetail> implements AssetsMonthDetailDao {

    @Override
    public List<AssetsMonthDetail> getAssetsMonthInfo(String businessId, String infoYear) {
        return baseMapper.getAssetsMonthInfo(businessId, infoYear);
    }

    @Override
    public List<AssetsMonthDetail> getEffectiveMonthInfo(Map<String, Object> queryParam) {
        return baseMapper.getEffectiveMonthInfo(queryParam);
    }

    @Override
    public AssetsMonthDetail getAssetsMonthInfoByType(String businessId, String infoYear, int businessType) {
        return baseMapper.getAssetsMonthInfoByType(businessId, infoYear, businessType);
    }

    @Override
    public List<AssetsMonthDetail> getLockMonthInfo(String lockId) {
        return baseMapper.getLockMonthInfo(lockId);
    }
}
